package com.imooc.order.service;

import com.imooc.order.dto.OrderDTO;

/**
 * @author Jiayuan
 * @version 1.0
 * @description:
 * @time 2018/7/28 19:22
 */
public interface OrderService {
    /** 创建订单. */
    OrderDTO create(OrderDTO orderDTO);

    /**
     * 完结订单（只能卖家操作）
     * @param orderId
     * @return
     */
    OrderDTO finish(String orderId);
}
